package com.example.vo.process.resp;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import java.util.Date;

/**
 * 我发起的流程
 * @author wsl
 */
@Data
@Accessors(chain = true)
public class MyStart {

    @ApiModelProperty("流程定义名称")
    private String processDefinitionName;

    @ApiModelProperty("流程实例编号")
    private String processInstanceId;

    @ApiModelProperty("发起时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    private Date startTime;

    @ApiModelProperty("是否已结束")
    private Boolean isEnd;

    @ApiModelProperty("结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    private Date endTime;

    @ApiModelProperty("流程持续毫秒数")
    private Long durationTime;
}
